home *** CD-ROM | disk | FTP | other *** search
- // extrude a closed 2-D shape along an axis
- prism {
- linear_sweep // or conic_sweep for tapering to a point
- cubic_spline // linear_spline | quadratic_spline | cubic_spline
- -0.5, // height 1
- 0.5, // height 2
- 10, // number of points
- // the <u,v> points
- < 0.2, -1.0>, < 0.2, 0.2>, < 1.0, -0.2>, < 1.0, 0.2>, < 0.2, 1.0>,
- <-0.2, 1.0>, <-1.0, 0.2>, <-1.0, -0.2>, <-0.2, 0.2>, <-0.2, -1.0>
- // [open]
- // [sturm]
- }
-